# 压缩数据中心后台服务程序的备份日志。
/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/gzipfiles /wanyingxing/project/log "*.log" 0.02

# 生成用于测试的全国气象站点观测的分钟数据。
/wanyingxing/project/tools1/c/output/procctl  60 /wanyingxing/project/idc1/c/output/crtsurfdata /wanyingxing/project/idc1/ini/stcode.ini /wanyingxing/project/surfdata /wanyingxing/project/log/crtsurfdata.log xml,json,csv

# 清理原始的全国气象站点观测的分钟数据目录/tmp/idc/surfdata中的历史数据文件。
/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/deletefiles  /wanyingxing/project/surfdata "*" 0.02

#每隔多长下载一次（对于从服务端下载，对于服务端的文件，我们额都是备份）
/wanyingxing/project/tools1/c/output/procctl 30 /wanyingxing/project/tools1/c1/output/ftpgetfiles /wanyingxing/project/log/ftpget.log "<host>192.168.9.242</host><mode>1</mode><username>root</username><password>Wanyingxing0</password><remotepath>/wanyingxing/project/surfdata</remotepath><localpath>/wanyingxing/project/idcdata/surfdata</localpath><matchname>SURF_ZH*.XML</matchname><listfilename>/wanyingxing/project/idcdata/ftplist/ftpgetfiles_surfdata.list</listfilename><ptype>3</ptype><remotepathbak>/wanyingxing/project/bak</remotepathbak><okfilename>/wanyingxing/project/idcdata/ftplist/okfiles_surfdata.list</okfilename><checkmtime>true</checkmtime><timeout>80</timeout><pname>ftpgetfiles_surfdata</pname>"


#每隔多长上传一次（对于上传的文件，我们都是备份），上传的文件，也就是我们下载的文件
/wanyingxing/project/tools1/c/output/procctl 30 /wanyingxing/project/tools1/c1/output/ftpputfiles /wanyingxing/project/log/ftpput.log "<host>192.168.9.242</host><mode>1</mode><username>root</username><password>Wanyingxing0</password><remotepath>/wanyingxing/project/idcdataputfiles</remotepath><localpath>/wanyingxing/project/idcdata/surfdata</localpath><matchname>SURF_ZH*.XML</matchname><ptype>3</ptype><localpathbak>/wanyingxing/project/putfilesbak</localpathbak><okfilename>/wanyingxing/project/idcdata/putfiles/okfiles_surfdata.list</okfilename><isallput>false</isallput><timeout>80</timeout><pname>ftpputfiles_surfdata</pname>"

#每隔长清理一次服务端的备份文件
/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/deletefiles /wanyingxing/project/putfilesbak "*" 0.02
#每个清理一次客户端上传的备份文件

/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/deletefiles /wanyingxing/project/bak "*" 0.02
#每个一段时间清理从服务端下载过来的文件
#/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/deletefiles /wanyingxing/project/idcdata/surfdata "*" 0.02

#服务端接受来自客户端的文件，你也要清理
/wanyingxing/project/tools1/c/output/procctl 300 /wanyingxing/project/tools1/c/output/deletefiles /wanyingxing/project/idcdataputfiles "*" 0.02

# 把上传的文件夹，修改为从服务端下载的文件夹，这样，就不用再去写一个复制操作